﻿using System;
using Jayden.Dll.Web.HtmlControls.Descriptions;
using Jayden.Dll.Web.HtmlControls.Generics;

namespace Jayden.Dll.Web.HtmlControls
{
	public class P : HtmlElement
	{
		public P() : base(PDescription.Instance) { }
	}
	public class PDescription : HtmlElementDescription
	{
		public static readonly PDescription Instance = new PDescription();
		private PDescription() : base("p") { }
		public override string Description { get { return "paragraph."; } }
		public override Type ControlType { get { return typeof(P); } }
		public override bool IsFlowElement { get { return true; } }
		public override bool OnlyPhrasingContent { get { return true; } }
	}
}
